﻿/*==========================================================
	TASK 1:                                         {Loop's}
	Write a program that prints all the numbers from 1 to N.  
==========================================================*/

using System;

class PrintFrom1ToN
{
    static void Main()
    {
        Console.Write("Enter n:");
        double n = int.Parse(Console.ReadLine());

        if (n > 0)
        {
            for (int i = 1; i <= n; i++)
            {
                Console.WriteLine(i);
            }
        }

        else
        {
            Console.WriteLine("Invalid number !");
        }
    }
}

